<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>字体设置</title>
    <style>
        canvas {
            display: block;
            margin: 50px auto;
        }
    </style>
</head>
<body>
    <canvas id="c" width="1000" height="500"></canvas>
<script src="./index.js"></script>
</body>
</html>